package cn.tedu.yushouge.pet.adopt.mapper;

import cn.tedu.yushouge.pet.adopt.pojo.entity.PetPic;
import cn.tedu.yushouge.pet.adopt.pojo.vo.PetPicListItemVO;
import cn.tedu.yushouge.pet.adopt.pojo.vo.PetPicStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PetPicMapper extends BaseMapper<PetPic> {

    int countPicNum(Long petId);

    List<PetPicListItemVO> selectPicList(Long petId);

    PetPicStandardVO getStandardById(Long id);

    List<PetPicListItemVO> selectCover();
}
